package com.imau.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

@TableName("t_role_permission")
@Data
@AllArgsConstructor
public class RolePermission {

    @TableId(type =  IdType.ASSIGN_ID)
    private String roleId;

    private String permissionId;

    public RolePermission(){

    }

    public RolePermission(String roleId){

        this.roleId = roleId;

    }
}
